package ModelLayer;

/**
 * Write a description of class Copy here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Copy
{
    // instance variables - replace the example below with your own
    private long id;
    private long serialNumber;
    private String purchaseDate;
    private String purchasePrice;

    /**
     * Constructor for objects of class Copy
     */
    public Copy(long id, long sn, String pd, String pp)
    {
        this.serialNumber = sn;
        this.purchaseDate = pd;
        this.purchasePrice = pp;
    }

    //acessor methods
    public long getID()
    {
        return id;
    }

    public long getSerial()
    {
        return serialNumber;
    }

    public String getDate()
    {
        return purchaseDate;
    }

    public String getPrice()
    {
        return purchasePrice;
    }

    //mutator methods	
    public void setSerial(long sn)
    {
        serialNumber = sn;
    }

    public void setDate(String pd)
    {
        purchaseDate = pd;
    }

    public void setPrice(String pp)
    {
        purchasePrice = pp;
    }
}
